<script setup>
    import MyChild from './MyChild.vue';
</script>

<template>
  <div class="parent">
    parent组件
    <MyChild></MyChild>
  </div>
</template>

<style scoped>
    .parent {
        width: 250px;
        padding: 20px 30px;
        background-color: rgb(35, 146, 197);
    }
</style>